import request from '@/utils/request'

// 查询我的退款列表
export function list(query) {
    return request({
        url: '/yzxmp/customerservice/queryrefund',
        method: 'get',
        params: query
    })
}

// 取消退款申请
export function cancleapplyrefund(query) {
    return request({
        url: '/yzxmp/customerservice/cancleapplyrefund',
        method: 'post',
        data: query
    })
}

// 修改退款申请
export function changerefund(query) {
    return request({
        url: '/yzxmp/customerservice/changerefund',
        method: 'post',
        data: query
    })
}

// 修改退款申请
export function queryreportpersonlist(query) {
    return request({
        url: '/yzxmp/customerservice/queryreportpersonlist',
        method: 'get',
        params: query
    })
}
// 分销商列表
// export function querytrader() {
//     return request({
//         url: '/yzxmp/customerservice/querytrader',
//         method: 'get'
//     })
// }

// // 查询订单详情
// export function queryorderdetail(query) {
//     return request({
//         url: '/yzxmp/customerservice/queryorderdetail',
//         method: 'get',
//         params: query
//     })
// }

